package ace.tool.generate.code.impl.generator.controller;

import ace.tool.generate.code.impl.generator.GeneratorInput;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/11/17 9:57
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RpcControllerGeneratorInput implements GeneratorInput<Class> {
  /**
   * 模板文件
   */
  @Builder.Default private String templateFile = "/java/RestSdkRpcController.ftl";

  /**
   * 输出文件目录
   */
  @Builder.Default private String outputDir = "./target/generated-sources";

  @NotNull private Class params;
}
